/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package auth;

import javax.servlet.http.HttpServletRequest;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.core.Context;

/**
 *
 * @author student
 */
@Path("hello")
public class HelloService {
    @GET
    public String getHelloMessage(@Context HttpServletRequest request){
        String username = request.getRemoteUser();
        return "HELLO" + username;
    }
}
